]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
overview: Add cover pane directly to overviewGroup
authorFlorian Müllner <fmuellner@gnome.org>
Sun, 29 Sep 2013 21:20:27 +0000 (23:20 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 1 Oct 2013 15:16:51 +0000 (17:16 +0200)
The cover pane is used to block events during transitions, but as
workspaces don't share the same container as other overview elements,
they are currently excempt from the event blocking.
Move the cover pane to the top-level overview container instead.

https://bugzilla.gnome.org/show_bug.cgi?id=709034

js/ui/overview.js

index 2210dfed84a810f71ecdad50ab394d140b8715cf..f26169af06713cec585cc2a3b3c534844f577505 100644 (file)
@@ -148,7 +148,7 @@ const Overview = new Lang.Class({
         // Dash elements, or mouseover handlers in the workspaces.
         this._coverPane = new Clutter.Actor({ opacity: 0,
                                               reactive: true });
-        this._stack.add_actor(this._coverPane);
+        Main.layoutManager.overviewGroup.add_child(this._coverPane);
         this._coverPane.connect('event', Lang.bind(this, function (actor, event) { return true; }));
 
         this._stack.add_actor(this._overview);